#coding:utf-8

from werkzeug.routing import BaseConverter
#定义正则转换器
class ReConverter(BaseConverter):
    """"""
    def __init__(self,url_map,regex):
        # 调用夫类的初始化方法
        super(ReConverter,self).__init__(url_map)
        self.regex = regex